#ifndef __BALLADE_SSL_INPUT_STREAM_H__
#define __BALLADE_SSL_INPUT_STREAM_H__

#include <openssl/ssl.h>

#include <ballade/network/config.h>
#include <ballade/network/input_stream.h>

namespace Ballade
{
	namespace Network
	{
		
		class NETWORK_API SSLInputStream : public InputStream
		{
		public:
			SSLInputStream(SSL* ssl);
			const int read(char *buf, const int len) const;
			
		private:
			SSL* _ssl;
		};

	}
}
#endif
